$(function () {
    $("#location").click(function () {
        layer.open({
            type: 2,
            area: ['60%', '70%'],
            fixed: false, //不固定
            maxmin: true,
            content: 'http://www.baidu.com'
        });
    });
});